import request from '../../utils/request';

export const deployAppPage = query => {
    return request({
        url: '/deployApp/page',
        method: 'get',
        params: query
    });
};

export const deployAppList = query => {
    return request({
        url: '/deployApp/list',
        method: 'get',
        params: query
    });
};

export const deployAppSave = data => {
    return request({
        url: '/deployApp/save',
        method: 'post',
        data: data
    });
};

export const deployAppUpdate = data => {
    return request({
        url: '/deployApp/update',
        method: 'put',
        data: data
    });
};

export const deployAppDelete = data => {
    return request({
        url: '/deployApp/delete/' + data,
        method: 'delete'
    });
};